Accelerated functional-connectivity guided transcranial magnetic stimulation